A typed specialization of the AsLive<(Of <<'(T>)>>)(INotifyCollectionChanged, ViewOrder) method.
Namespace:
C1.LiveLinqAssembly: C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)
Syntax
C# |
---|
public static View<T> AsLive<T>( this ObservableCollection<T> source, ViewOrder order ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function AsLive(Of T) ( _ source As ObservableCollection(Of T), _ order As ViewOrder _ ) As View(Of T) |
Parameters
- source
- Type: System.Collections.ObjectModel..::..ObservableCollection<(Of <(<'T>)>)>
The ObservableCollection<(Of <(<'T>)>)> to expose as a view.
- order
- Type: C1.LiveLinq.LiveViews..::..ViewOrder
Specifies whether to preserve source item order.
Type Parameters
- T
- The type of the elements in the view.